<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/10/18
 * Time: 11:30
 */

namespace core\lib;


use function core\pplain;
use Extentions\mysql\Db;

class BaseControlerDB
{
    protected $msg;
    protected $db;
    function __construct()
    {
        $this->db = Db::instance();
        $this->msg = Queryinfom::Newinstance();
        $this->__HOOK();
        $this->__USERFUNC();
    }

    function __HOOK(){

    }

    function __USERFUNC(){

    }

    function index(){
        pplain("index");
    }
}